package com.freesky.biz.rights.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freesky.biz.rights.domain.RightsActivityEntity;
import org.apache.ibatis.annotations.Param;

public interface RightsActivityMapper extends BaseMapper<RightsActivityEntity> {

    public int resetActivity(@Param("busiId") String busiId,
                             @Param("startDt") String startDt,
                             @Param("endDt") String endDt);

    public int deleteRightsActivityByIds(String[] ids);


    public int updateRightsActivityCount(@Param("activityId") String activityId,
                               @Param("nums") Integer nums);
}
